﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Update.aspx.cs" Inherits="Test.UI.Update" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="Scripts/jquery-3.3.1.min.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            编号：<input type="text" id="Text1" runat="server"  readonly/>
        </div>
        <div>
            班级：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*必填" ControlToValidate="TextBox1"></asp:RequiredFieldValidator>
            <%--input type="text" id="TextBox1" runat="server" required/>--%>
        </div>
        <div>
            简介：<asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine"></asp:TextBox>
        </div>
        <div>
            <asp:Button ID="Button1" runat="server" Text="修改" OnClick="Button1_Click"  />
            <asp:Button ID="Button2" runat="server" Text="取消" PostBackUrl="~/ClassInfo.aspx" />
        </div>
    </form>
</body>
</html>
